package com.A1908.service;

import com.A1908.entity.AttendPeopleInfo;
import com.A1908.entity.FeastInfo;
import com.A1908.entity.PageEntity;
import com.A1908.entity.User;

import java.util.List;

public interface AttendPeopleInfoService {
    List<AttendPeopleInfo> getAllAttendPeopleInfo(User user);

    int addAttendPeople(AttendPeopleInfo attendPeopleInfo);

    int delAttendPeople(AttendPeopleInfo attendPeopleInfo);

    int editAttendPeople(AttendPeopleInfo attendPeopleInfo);

    List<AttendPeopleInfo> getAllAttendPeopleInfo(User user, PageEntity pageEntity);

    /*查找参会人信息根据宴会编号*/
    List<AttendPeopleInfo> findAttendPeopleInfoByFeast(FeastInfo feastInfo);

    /*礼金总和*/
    double totalGift(FeastInfo feastInfo);

    /*单元格编辑*/
    int CellEdit(int id,String field,String value);
}
